package com.njym.java.security.admin.biz;

import com.github.pagehelper.PageHelper;
import com.njym.java.security.admin.entity.InvestGroup;
import com.njym.java.security.admin.mapper.InvestGroupMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.xml.ws.Action;
import java.util.List;

/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-03-10 14:28:16
 */
@Service
public class InvestGroupBiz extends BaseBiz<InvestGroupMapper, InvestGroup> {

    /**
     * 问卷分组信息
     * @param page
     * @param limit
     * @param name
     * @return
     */
    public List<InvestGroup> getInvestGroup(Integer page, Integer limit,String name){
        PageHelper.startPage(page, limit);
        return mapper.getInvestGroup(name);
    }
}